package com.inventory.Service;

import com.common.entity.Result;
import com.github.pagehelper.PageInfo;
import com.inventory.Pojo.Inventory;
import com.inventory.Pojo.Outgoods;

import java.util.List;

public interface InventoryService {
    void AddInventory(Inventory inventory);

    PageInfo<Inventory> SearchInventory(Integer pageNum, Integer pageSize, String goodsId, String storehouseId);

    Inventory getByid(Integer inventoryId);

    void AddInNum(Integer newNum, Integer inventoryId,String intime,Integer lastmonthNum);

    void OutNum(Integer newNum, Integer outSum, String outtime, Integer inventoryId);

    Inventory getBygoodsId(Integer goodsId);

    void Del(Integer id);

    void updateInventory(Inventory inventory);

    void outgoods(Outgoods outgoods);

    PageInfo<Outgoods> searchoutgoods(Integer pageNum, Integer pageSize, String goodsId);

    List<Inventory> get();

    List<Inventory> get2();

    List<Inventory> get1();

    List<Inventory> get3();

    List<Inventory> get4();

    void addNew(Inventory inventory1);

    List<Inventory> yuce4();
    List<Inventory> yuce5();

    List<Inventory> yuce3();

    List<Inventory> yuce2();

    List<Inventory> yuce1();

    List<Inventory> yuce();

    List<Inventory> xiaoliang();

    List<Inventory> xiaoliang1();

    List<Inventory> xiaoliang2();

    List<Inventory> xiaoliang3();
    List<Inventory> xiaoliang4();
    List<Inventory> xiaoliang5();

}
